Array.prototype.dyx_includes = function(value, index = 0){
    if(index < 0) index = index + length
    const length = this.length;
    for(let i = index; i < length; i++){
        if(Object.is(this[i],value) || (value == 0 && this[i] == 0)){
            return true
        }
    }
    return false
}

const arr = [1,2,3,4,NaN,+0,-0]

console.log(arr.includes(+0),arr.dyx_includes(-0))
console.log(arr.includes(0/0),arr.dyx_includes(0/0))
console.log(arr.includes(NaN),arr.dyx_includes(NaN))